package com.example.test.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商品图片
 * </p>
 *
 * @author dz
 * @since 2022-04-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Picurl extends Model<Picurl> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "pic_id", type = IdType.AUTO)
    private Integer picId;

    /**
     * 所属商品id
     */
    private Integer goodsId;

    /**
     * 图片url
     */
    @TableField("picUrl")
    private String picUrl;

    @TableLogic
    private Boolean deleted;

    private Date createTime;

    private Date updateTime;

    private Date deletedTime;



}
